package com.liantong.common.mapper;

import com.liantong.common.po.DownloadHistory;
import com.liantong.common.po.DownloadHistoryExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

public interface DownloadHistoryMapper {
    int countByExample(DownloadHistoryExample example);

    int deleteByExample(DownloadHistoryExample example);

    List<DownloadHistory> selectByExample(DownloadHistoryExample example);

    int updateByExampleSelective(@Param("record") DownloadHistory record, @Param("example") DownloadHistoryExample example);

    int updateByExample(@Param("record") DownloadHistory record, @Param("example") DownloadHistoryExample example);

    List<DownloadHistory> selectByExampleAndPage(DownloadHistoryExample example, RowBounds rowBound);

    int deleteByPrimaryKey(Integer id);

    int insert(DownloadHistory record);

    int insertSelective(DownloadHistory record);

    DownloadHistory selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(DownloadHistory record);

    int updateByPrimaryKey(DownloadHistory record);
}